Versions:
Gersemi, now at version 0.26.1 and issued by BlankSpruce, is an open-source command-line formatter whose sole purpose is to bring consistent, readable style to CMake source files. Written in Python and distributed under the MIT license, the tool ingests CMakeLists.txt scripts and *.cmake modules, applies a configurable set of layout rules—indentation, line breaks, argument alignment, command casing, comment preservation—and emits the reformatted code without altering functionality. Three successive public releases (0.24, 0.25 and the current 0.26.1) have progressively added support for generator expressions, conditional statements, bracket arguments and policy blocks, making Gersemi suitable for everything from single-file university exercises to multi-platform commercial projects that rely on heavily parameterized CMake hierarchies. Typical use cases include continuous-integration pipelines that automatically reject unformatted merge requests, IDE extensions that invoke the formatter on save, and legacy-code grooming sessions that normalize years of organically grown build logic in one batch pass. Because configuration is driven by a concise dotfile, teams can commit the same style prescription alongside their source, ensuring every contributor, workstation and build agent produces identical layout. The program operates in place or through stdin/stdout, so it slots naturally into existing lint-stages, pre-commit hooks or code-review automation. Categorized unambiguously as a development tool for build-automation workflows, Gersemi complements rather than replaces CMake itself, acting as a dedicated beautifier analogous to clang-format for C++ or black for Python. The software is available for free on get.nero.com, with downloads provided via trusted Windows package sources such as winget, always delivering the latest version and supporting batch installation of multiple applications.
Tags: